from sqlalchemy import Column, Integer, String

from app.models.base import BaseModel


class GoodsService(BaseModel):
    __tablename__ = "goods_service"
    __table_args__ = {"comment": "商品保障"}

    id = Column(Integer, primary_key=True, autoincrement=True, comment="服务业务id")
    goods_id = Column(Integer, comment="关联商品ID")
    name = Column(String(50), default="", comment="服务名称")
    summary = Column(String(50), default="", comment="服务描述")
